
export default [
  {
    //注意这里只能配置空格，配置“/"会出现404
    path: '',
    name: '主页',
    redirect: '/home/index',
    component: import( /* webpackChunkName: "views" */ '/src/page/index/index.vue'),
  }, {
    path: '/login',
    name: '登录页',
    component: () => import( /* webpackChunkName: "views" */ '/src/page/login/index.vue'),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: '/lock',
    name: '锁屏页',
    component: () => import( /* webpackChunkName: "views" */ '/src/page/lock/index.vue'),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: '/404',
    component: () =>
        import( /* webpackChunkName: "page" */ '/src/szcomponent/avue/error-page/404.vue'),
    name: '404',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }

  },
  {
    path: '/403',
    component: () =>
        import( /* webpackChunkName: "page" */ '/src/szcomponent/avue/error-page/403.vue'),
    name: '403',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: '/500',
    component: () =>
        import( /* webpackChunkName: "page" */ '/src/szcomponent/avue/error-page/500.vue'),
    name: '500',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: "/:pathMatch(.*)*",
    redirect: '/404'
  }
]